package com.foreknow.dao;

import com.foreknow.bean.Business;

import java.util.List;


public interface BusinessDao {

	public List<Business> listBusiness(String businessName, String businessAddress);
	public int saveBusiness(String businessName);
	public int removeBusiness(int businessId);
	public Business getBusinessByIdByPass(Integer businessId, String password);
	public Business getBusinessById(Integer businessId);
	public int updateBusiness(Business business);
	public int updateBusinessByPassword(Integer businessId, String password);
}
